<script setup lang="ts">
import Footer from '../components/Footer.vue';
import addressConfig from '../config/address.js';
</script>

<template>
  <div class="products">
    <section class="banner">
      <div class="container">
        <img loading="lazy" src="https://img1.hijs.cc/xubai/images/banner/products.jpg" alt="产品中心banner" class="img-fluid">
      </div>
    </section>
    <section class="product-series">
      <div class="container">
        <h2 class="mb-5">食品罐系列</h2>
        <div class="row">
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img loading="lazy" src="https://img1.hijs.cc/xubai/images/product/type1/1.jpg" alt="食品罐系列-圆形1L装" class="product-img">
              <div class="product-info">
                
                <p>食品级材质，安全可靠</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img loading="lazy" src="https://img1.hijs.cc/xubai/images/product/type1/2.jpg" alt="食品罐系列-方形500ml装" class="product-img">
              <div class="product-info">
                
                <p>食品级材质，安全可靠</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type1/3.jpg" alt="食品罐系列-圆形2L装" class="product-img">
              <div class="product-info">
                
                <p>食品级材质，安全可靠</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type1/4.jpg" alt="食品罐系列-方形1L装" class="product-img">
              <div class="product-info">
                
                <p>食品级材质，安全可靠</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type1/5.jpg" alt="食品罐系列-圆形500ml装" class="product-img">
              <div class="product-info">
                
                <p>食品级材质，安全可靠</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type1/6.jpg" alt="食品罐系列-方形2L装" class="product-img">
              <div class="product-info">
                
                <p>食品级材质，安全可靠</p>
              </div>
            </div>
          </div>
        </div>

        

        <h2 class="mb-5 mt-5">喷瓶系列</h2>
        <div class="row">
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type2/1.jpg" alt="喷瓶系列-100ml按压式" class="product-img">
              <div class="product-info">
                
                <p>简洁头设计，使用方便</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type2/2.jpg" alt="喷瓶系列-250ml按压式" class="product-img">
              <div class="product-info">
                
                <p>简洁头设计，使用方便</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type2/3.jpg" alt="喷瓶系列-500ml按压式" class="product-img">
              <div class="product-info">
                
                <p>简洁头设计，使用方便</p>
              </div>
            </div>
          </div>
        </div>

        <h2 class="mb-5 mt-5">手扣式喷瓶</h2>
        <div class="row">
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type3/1.jpg" alt="手扣式喷瓶-100ml" class="product-img">
              <div class="product-info">
                
                <p>多种规格可供选择，适用于各类喷雾产品</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type3/2.jpg" alt="手扣式喷瓶-250ml" class="product-img">
              <div class="product-info">
                
                <p>多种规格可供选择，适用于各类喷雾产品</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type3/3.jpg" alt="手扣式喷瓶-500ml" class="product-img">
              <div class="product-info">
                
                <p>多种规格可供选择，适用于各类喷雾产品</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/type3/4.jpg" alt="手扣式喷瓶-1000ml" class="product-img">
              <div class="product-info">
                
                <p>多种规格可供选择，适用于各类喷雾产品</p>
              </div>
            </div>
          </div>

        </div>

        <h2 class="mb-5 mt-5">更多系列</h2>
        <div class="row">
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/2.jpg" alt="消毒液瓶-500ml" class="product-img">
              <div class="product-info">
                <p>产品1</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/1.jpg" alt="油污净瓶-500ml" class="product-img">
              <div class="product-info">
                <p>产品2</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/3.jpg" alt="产品3" class="product-img">
              <div class="product-info">
                <p>产品3</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/4.jpg" alt="产品4" class="product-img">
              <div class="product-info">
                <p>产品4</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/5.jpg" alt="产品5" class="product-img">
              <div class="product-info">
                <p>产品5</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/6.jpg" alt="产品6" class="product-img">
              <div class="product-info">
                <p>产品6</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/7.jpg" alt="产品7" class="product-img">
              <div class="product-info">
                <p>产品7</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/8.jpg" alt="产品8" class="product-img">
              <div class="product-info">
                <p>产品8</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/9.jpg" alt="产品9" class="product-img">
              <div class="product-info">
                <p>产品9</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/10.jpg" alt="产品10" class="product-img">
              <div class="product-info">
                <p>产品10</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/11.jpg" alt="产品11" class="product-img">
              <div class="product-info">
                <p>产品11</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/12.jpg" alt="产品12" class="product-img">
              <div class="product-info">
                <p>产品12</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/13.jpg" alt="产品13" class="product-img">
              <div class="product-info">
                <p>产品13</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/14.jpg" alt="产品14" class="product-img">
              <div class="product-info">
                <p>产品14</p>
              </div>
            </div>
          </div>
          <div class="col-md-4 mb-4">
            <div class="product-card">
              <img src="https://img1.hijs.cc/xubai/images/product/more/15.jpg" alt="产品15" class="product-img">
              <div class="product-info">
                <p>产品15</p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </section>

    <section class="custom-service bg-light">
      <div class="container">
        <h2 class="text-center mb-5">定制服务</h2>
        <p class="text-center mb-4">我们提供专业的产品定制服务，可根据您的需求定制：</p>
        <div class="service-items text-center">
          <p>✓ 来图来样加工</p>
          <p>✓ OEM定制生产</p>
          <p>✓ 免费产品设计建议</p>
          <p>✓ 专业技术支持</p>
        </div>
        <div class="text-center mt-4">
          <a :href="`tel:${addressConfig.phone}`" class="btn btn-primary">立即电话咨询</a>
        </div>
      </div>
    </section>

    <Footer />
  </div>
</template>

<style scoped>
.product-series {
  padding: 60px 0;
}

.product-card {
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s;
  background: white;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  margin-bottom: 10px;
  color: #333;
}

.product-info p {
  color: #666;
  margin-bottom: 0;
}

.custom-service {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.service-items p {
  margin-bottom: 15px;
  font-size: 1.1em;
  color: #333;
}

.btn-primary {
  padding: 10px 30px;
  font-size: 1.1em;
  background-color: #007bff;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.btn-primary:hover {
  background-color: #0056b3;
}

@media (max-width: 768px) {
  .product-card {
    margin-bottom: 30px;
  }
}
.banner {
  padding: 60px 0;
  background: #f8f9fa;
  margin-top: 60px;
}

@media (max-width: 768px) {
  .banner {
    margin-top: 40px;
    padding-bottom: 5px;
  }
}
</style>